<!--
 * @Author: Leo.wang wanglizhigs@163.com
 * @Date: 2023-11-30 10:09:54
 * @LastEditors: Leo.wang wanglizhigs@163.com
 * @LastEditTime: 2023-12-26 23:34:00
 * @FilePath: /ruoyi-ui/src/views/patient/identity/index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="app-container">
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          plain
          icon="el-icon-plus"
          size="mini"
          v-hasPermi="['system:role:export']"
          >导入</el-button
        >
      </el-col>
    </el-row>

    <el-table :data="tableData">
      <el-table-column align="center" label="编号" prop="id" width="120" />

      <el-table-column
        align="center"
        label="证件号码"
        props="idNumber"
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="姓名"
        props="name"
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="详细地址"
        props="address"
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="性别"
        props="gender"
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="年龄"
        props="age"
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="第一人群分类"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="多人群分类"
        props="audienceCategory"
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="名族"
        props="nation"
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="电话号"
        props="contactNumber"
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="学校"
        props="school"
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="班级"
        props="className"
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="寺庙"
        props="templeName"
        :show-overflow-tooltip="true"
        width="150"
      />

      <el-table-column
        align="center"
        label="计划筛查时间"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="筛查时间"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="卡痕"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="咳嗽"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="咯血"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="发热"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="胸痛"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="盗汗"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="食欲"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="乏力"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="体重"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="TST结核菌素皮肤试验注射时间"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="TST-横径"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="TST-纵径"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="TST-反应"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="TST-判定结果"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="胸片编号"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="胸片结果"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="CT编号"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="CT结果"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="痰标本编号"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="痰标本"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="痰涂片"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="分子生物学"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="痰培养"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="结核分枝杆菌潜伏感染"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="药敏"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="诊断结果"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="治疗方案"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="是否网报"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
      <el-table-column
        align="center"
        label="备注"
        props=""
        :show-overflow-tooltip="true"
        width="150"
      />
    </el-table>
  </div>
</template>

<script>
import { scrub } from "@/filter/index";
import { getIdentityList } from "@/api/patient/identity.api";

export default {
  name: "Identity",
  data() {
    return {
      tableData: [],
      pagination: {},
    };
  },
  methods: {
    async getTableDate() {
      const result = await getIdentityList();
      if (result) {
        const { list, pagination } = result;
        console.log("result", list, pagination);
        this.tableData = list;
        this.pagination = pagination;
      }
    },
  },
  mounted() {
    this.getTableDate();
  },
};
</script>
